package com.gotop.common.node;

/**
 * @program: cem
 * @description:
 * @author: superfish
 * @create: 2020-12-22 15:09
 **/
public class ForestNode extends BaseNode {
    private static final long serialVersionUID = 1L;
    private Object content;

    public ForestNode(Long id, Long parentId, Object content) {
        this.id = id;
        this.parentId = parentId;
        this.content = content;
    }

    public Object getContent() {
        return this.content;
    }

    public void setContent(final Object content) {
        this.content = content;
    }

    public String toString() {
        return "ForestNode(content=" + this.getContent() + ")";
    }

}